<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    li{
        list-style: none;
    }
    h1{ 
        margin: 5px;
        text-align: center;
    }
    .box1{
        padding-bottom: 10px;
        width: 66px;
        border-bottom:solid #9e0256 4px; 
        margin: 0 auto;
        margin-bottom: 70px;
    }
    .box1 li{    
        font-weight:bold;
    }
 
    .box2{
        position: relative;
        left: 13%;
        background-image: url(4.jpg);
        background-repeat: no-repeat;
        background-position: 480px 10px;
    }
    .box2 li{
        font-size:  10px;
        color: #5a5a5a;
    }

    input{
        margin:20px 0;
        border: solid 1px #cccccc;
        width: 562px;
        height: 40px;
        outline-color:#9e0256;
        z-index:5;   
    }
    #input1{
        border: solid 1px #cccccc;
        width: 562px;
        height: 80px;
        outline-color:#9e0256;  
    }
    #input2{
        border: solid 1px #cccccc;
        width: 562px;
        height: 40px;
        background:#9e0256;
        color:#ffffff;
    }
    #input2:hover{
        border: solid 1px #cccccc;
        width: 562px;
        height: 40px;
        background:#7f0245;
        cursor: pointer
        
    }
    </style>
<body>
    <h1>ONLINE MESSAGE</h1>
    <div class="box1">
    <li>在线留言</li>
    </div>
    <div class="box2">
        <form action="">
            <ul>
                <li><label for="">姓名</label><br><input type="text" class="inp"></li>
                    
                <li><label for="">电话</label> <br><input type="text" class="inp"></li>
                   
                <li><label for="">内容</label><br> <input type="password" id="input1"></li>
                    
                </li>
                <li>
                    <input type="submit" value="提交" id="input2">
                </li>
            </ul>
        </form>
    </div>
</body>
</html>